package com.yuelife.admin.dao;

import com.yuelife.admin.pojo.Discussion;
import com.yuelife.admin.vo.DiscussionVO;

import java.util.List;

public interface DiscussionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Discussion record);

    int insertSelective(Discussion record);

    Discussion selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Discussion record);

    int updateByPrimaryKey(Discussion record);

    List<Discussion> selectAll(DiscussionVO discussion);
}